from turtle import *

def Squre(left, top, right, bottom):
    move(left, top)
    goto(right, top)
    goto(right, bottom)
    goto(left, bottom)
    goto(left, top)

def Line(s_x, s_y, e_x, e_y):
    move(s_x, s_y)
    goto(e_x, e_y)

def move(x, y):
    pu()
    goto(x, y)
    pd()


if __name__ == '__main__':
    speed(4)
    width(8)
    ht() # 隐藏海龟
    # 画框
    Squre(-135, 110, 135, -110)
    Squre(-100, 80, 100, -80)
    # 画眉毛
    Line(-70, 10, -30, 45)
    Line(70, 10, 30, 45)
    # 画嘴
    move(-40, -10)
    seth(-90)
    circle(20, 180)
    move(0, -10)
    seth(-90)
    circle(20, 180)
    # 画脚
    move(-100, -110)
    seth(-90)
    circle(20, 180)
    move(60, -110)
    seth(-90)
    circle(20, 180)
    # 画角
    Line(-75, 140, 0, 110)
    Line(75, 140, 0, 110)

    done()
